Skip to content

Conversation

@pvditto
Copy link
Contributor

@pvditto pvditto commented Oct 1, 2025

Running the script to bump versions didn't result in a PR that passed CI so this is adding logic to the script to update lock files and fail if any of the lockfile updates is not successful or the dependency to update can't be found.

Tested at #178

@pvditto pvditto changed the title Fix ReactNative Pod update Fix bump-versions script Oct 2, 2025
@pvditto pvditto changed the title Fix bump-versions script Fix bump-versions script and improve robustness Oct 2, 2025
@pvditto pvditto self-assigned this Oct 2, 2025
It's not possible to unignore files inside an ignored directory
@pvditto pvditto marked this pull request as ready for review October 9, 2025 09:58
@pvditto pvditto requested a review from teodorciuraru as a code owner October 9, 2025 09:58
Copilot AI review requested due to automatic review settings October 9, 2025 09:58
@pvditto pvditto requested review from a team and kristopherjohnson as code owners October 9, 2025 09:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the bump-versions script to improve robustness and reliability. The script now uses explicit app configurations instead of file globbing, ensuring all expected files are found and updated.

  • Replaced generic file globbing with explicit app-specific configurations
  • Added mandatory lockfile updates with proper error handling
  • Removed dry-run mode and improved logging with colored output

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
scripts/bump-versions.js Complete rewrite with explicit app configs, enhanced error handling, and colored logging
react-native-expo/.gitignore Updated iOS exclusions to be more specific (exclude Pods/ but not the entire ios/ directory)
.github/workflows/update-sdk-versions.yml Simplified PR description template by removing detailed app list

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@teodorciuraru teodorciuraru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@pvditto pvditto enabled auto-merge (squash) October 9, 2025 12:29
@pvditto pvditto disabled auto-merge October 9, 2025 16:27
@pvditto pvditto enabled auto-merge (squash) October 9, 2025 16:34
@pvditto pvditto merged commit a240ce3 into main Oct 13, 2025
5 of 7 checks passed
@pvditto pvditto deleted the pv/sdks-1704-quickstart-bump-version-script-failing branch October 13, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants